package View;

import BO.User;

public class UserView {
	private int userId;
	private String username;
	private int rank;
	private String address;
	private String zipcode;
	private String city;
	private String email;
	private String firstname;
	private String surname;
	
	public UserView(User user){
		userId = user.getUserId();
		username = user.getUsername();
		rank = user.getRank();
		address = user.getAddress();
		zipcode = user.getZipcode();
		city = user.getCity();
		email = user.getEmail();
		firstname = user.getFirstname();
		surname = user.getSurname();
	}

	public int getUserId() {
		return userId;
	}

	public String getUsername() {
		return username;
	}

	public int getRank() {
		return rank;
	}

	public String getAddress() {
		return address;
	}

	public String getZipcode() {
		return zipcode;
	}

	public String getCity() {
		return city;
	}

	public String getEmail() {
		return email;
	}

	public String getFirstname() {
		return firstname;
	}

	public String getSurname() {
		return surname;
	}
	
}
